package com.fansl.allround.common.security.jwt;

import org.springframework.security.oauth2.provider.OAuth2Authentication;

import java.util.Map;

/**
 * @author fansl
 * @Description: 拓展jwt 认证信息
 * @date 2019/9/25 10:21
 */
public interface JwtTokenEnhancerHandler {
    /**
     * 获取token的Info
     * @return
     */
    Map<String,Object> getInfoToToken(OAuth2Authentication authentication);
}
